package vn.ugame.controller;

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class UgameContext implements ServletContextListener {

    private static ServletContext servletContext;

    public static ServletContext getServletContext() {
        return servletContext;
    }
    
    @Override
    public void contextInitialized(ServletContextEvent sce) {
        UgameContext.servletContext = sce.getServletContext();
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
    }
}
